﻿<Window xmlns:my="clr-namespace:YLClient.UserControls"  x:Class="YLClient.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="影楼端" WindowStartupLocation="CenterScreen" Closed="Window_Closed" MinHeight="350" MaxHeight="800" MinWidth="500" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="538" d:DesignWidth="527" SizeToContent="WidthAndHeight">
    <Grid>

        <DockPanel   VerticalAlignment="Top" HorizontalAlignment="Stretch" Height="Auto" Width="Auto">
            <Menu DockPanel.Dock="Top" Height="23" HorizontalAlignment="Stretch" Margin="0" Name="menu1" VerticalAlignment="Top" Width="Auto">
                <MenuItem Header="设置" Click="Setting_Click" />
                <MenuItem Header="帐户">
                    <MenuItem Name="getUserAccount" Header="获取帐户信息" Click="getUserAccount_Click" />
                </MenuItem>
                <MenuItem Header="帮助" />
            </Menu>
            <ToolBarPanel  DockPanel.Dock="Top" Orientation="Horizontal">
                <Button Name="Add" Content="添加" Click="Add_Click" Margin="2" />
                <Button  Name="Download" Content="全部下载" Margin="2" ToolTip="下载所有当前所显示的" IsEnabled="False" />
                <Button Name="Search" Content="查询..." Margin="2" Click="Search_Click" />
            </ToolBarPanel>
            <ListBox DockPanel.Dock="Top" Name="lstItems" HorizontalContentAlignment="Stretch">
            </ListBox>
        </DockPanel>
    </Grid>
</Window>
